package com.matrix.draft.dubbotest.pojo.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;
import java.util.UUID;

@Data
@Accessors(chain = true)
public class ChocolateDTO implements Serializable {
    private String id = UUID.randomUUID().toString().replaceAll("-","");
    private String name;
    private Integer nPieces;
    private List<Color> colors;
}
